package com.zzyl.nursing.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;

/**
 * 家属与老人关系对象 family_member_elder
 * 老人家属关联对象 family_member_elder
 *
 * @author haohao
 * @date 2025-11-03
 * @author laoYe
 * @date 2025-06-06
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("家属与老人关系实体")
@TableName("family_member_elder")
public class FamilyMemberElder extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**
    * 主键id
    */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
    * 老人ID
    */
    @Excel(name = "老人ID")
    @ApiModelProperty(value = "老人ID")
    private Long elderId;
    /**
    * 家属ID
    */
    @Excel(name = "家属ID")
    @ApiModelProperty(value = "家属ID")
    private Long familyMemberId;
    @ApiModelProperty(value = "老人姓名")
    private  String elderName;
    private String remark;


}
